package com.sinogrand.elevator.ui.components

// 电梯详情API响应数据模型
data class ElevatorDetailResponse(
    val code: Int,
    val data: ElevatorDetailData,
    val msg: String
)

data class ElevatorDetailData(
    val info: ElevatorInfo
)

data class ElevatorInfo(
    val id: Int,
    val name: String,
    val no: String,
    val sn: String,
    val type: Int,
    val install_type: String,
    val brand: String,
    val model: String,
    val unit_price: Double,
    val start_date: String,
    val end_date: String,
    val details: List<ElevatorDetailItem>,
    val status: Int,
    val created_at: String,
    val updated_at: String
)

data class ElevatorDetailItem(
    val code: String,
    val name: String,
    val value: String
)

// 日志数据模型
data class LogItem(
    val id: Int,
    val title: String,
    val content: String,
    val type: String,
    val created_at: String,
    val status: Int
)

// 底部功能按钮数据模型
data class BottomActionButton(
    val id: String,
    val title: String,
    val icon: String
)
